import { Module } from '@nestjs/common';
import { MongooseModule } from '@nestjs/mongoose';
import { UserInfoService } from './userinfo.service';
import { UserInfoController } from './userinfo.controller';
import { UserInfoSchema } from './schemas/userinfo.schema';
@Module({
  imports: [
    MongooseModule.forFeature([{ name: 'UserInfos', schema: UserInfoSchema }]),
  ],
  controllers: [UserInfoController],
  providers: [UserInfoService],
})
export class UserInfoModule {}
